import numpy as np
data = np.mat([1,2,3,4,5,6,7,8,9])
x = data[:, 1:3]
print x